package com.innovation.chengzhangriji.ui.widget;

import android.content.Context;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import com.innovation.chengzhangriji.ui.BabyInfoFragment;

public class BabyFragmentPagerAdapter extends FragmentPagerAdapter {

    private static final int PAGE_COUNT = 3;

    public BabyFragmentPagerAdapter(FragmentManager fm, Context context) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return new BabyInfoFragment();
    }

    @Override
    public int getCount() {
        return PAGE_COUNT;
    }
}
